﻿using Biz.Core.Models;
using MiniFox.Components;
using MiniFox.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Biz.Core.Providers
{
    [AutoRegister]
    public interface IOrderDataProvider
    {
        bool CreateOrder(OrderDto orderDto);
        bool DeleteOrder(string orderId);
        OrderVo GetOrder(string orderId);
        bool OrderPay(string orderId);
        ResultObject<IEnumerable<OrderVo>> QueryOrderList(PagedQueryObject<OrderSearchModel> queryObject);
        bool UpdateOrder(OrderDto orderDto);
    }
}
